# coding: utf-8

from recaptcha.client import captcha

from handler import BaseHandler

from util.route_decorator import route


@route('/', name='main')
class MainHandler(BaseHandler):
    

    def get(self):
         self.render('main.html')
         
         
@route('/signup', name='signup')
class SignupHandler(BaseHandler):
    
    def get(self):
        captcha_html = captcha.displayhtml(self.settings.recaptcha_puk)
        
        self.render('signup.html', captcha_html=captcha_html)